﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    Inherits="Nivdal.Preferences" Title="" StylesheetTheme="SkinFile" CodeBehind="Preferences.aspx.cs" %>

<%@ Register Assembly="obout_Flyout2_NET" Namespace="OboutInc.Flyout2" TagPrefix="cc1" %>

<asp:Content ID="HEadContent" runat="server" ContentPlaceHolderID="HeadPlaceHolder">
    <script type="text/javascript" src="JS/JScript16.js"></script>
</asp:Content>
<asp:Content ID="PageNameContent" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, Preferences_PageNameLabel %>"
        CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Label ID="MessageLabel" runat="server" Text=""></asp:Label>

    <div class="basic_element">
    <div class="red_title">
       <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Resource, Preferences_PageNameLabel %>" CssClass="white_title" ></asp:Label>
    </div>
    <div class="padding5">

    

    <asp:HiddenField runat="server" Value="<%$ Resources:Resource, General_Available %>"
        ID="Available" />
    <asp:HiddenField runat="server" Value="<%$ Resources:Resource, General_Unavailable %>"
        ID="Unavailable" />
    <asp:HiddenField runat="server" Value="<%$ Resources:Resource, General_Checking %>"
        ID="Checking" />
        <asp:HiddenField runat="server" Value="<%$ Resources:Resource, General_Checking %>"
        ID="Currentemail" />
    
   
        <asp:FormView ID="FormView1" runat="server" DataSourceID="SqlDataSource1" DefaultMode="Edit" Width="100%">
            <EditItemTemplate>
                <table cellpadding="3" cellspacing="0">
                    <tr>
                        <td rowspan="3" style="vertical-align: top;">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Icons/icon - User preferences edit.png" />
                        </td>
                        <td>
                            <asp:Label ID="PublicNameTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_PublicNameTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="PublicNameTextBox" runat="server" Text='<%# Bind("PublicName") %>'
                              CssClass="rounded_corners" MaxLength="256"/>
                            <asp:RequiredFieldValidator ID="CompanyNameRequiredValidator" ControlToValidate="PublicNameTextBox"
                                Text="*" ValidationGroup="PreferencesWizard" runat="server" />
                            <asp:Image ID="LoginNameTextBoxExplanationImage" runat="server" ImageUrl="~/Images/question.gif" />
                            <cc1:Flyout ID="Flyout1" runat="server" AttachTo="LoginNameTextBoxExplanationImage" Align="LEFT" NoneEffect="true">
                                <div class="ToolTipStyle">
                                    <asp:Label ID="LoginNameTextBoxExplanationLabel" runat="server" Text="<%$ Resources:Resource, Register_PublicNameExplantionLabel %>"></asp:Label>
                                </div>
                            </cc1:Flyout>
                        </td>
                        <td>
                            
                            <%-- <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator3" ControlToValidate="PublicNameTextBox"
                        ErrorMessage="<%$ Resources:Resource, Global_IlligalValue %>"  ValidationExpression="^[0-9a-zA-Z_]{2,256}$" ValidationGroup="PreferencesWizard"></asp:RegularExpressionValidator>--%>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="LoginNameTitle" runat="server" Text="<%$ Resources:Resource, Preferences_PreferredLanguageTitleLabel %>" 
                             ToolTip="<%$ Resources:Resource, Register_PublicNameLabel %>" SkinID="PreferencesLabel"></asp:Label>
                             
                        </td>
                        <td>
                            <asp:TextBox ID="LoginNameTextBox" runat="server" MaxLength="256" Text='<%# Bind("LoginName") %>' 
                            ToolTip="<%$ Resources:Resource, Register_OnlyForLoginMessageLabel %>" CssClass="rounded_corners"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="LoginNameTextBox"
                                Text="*" ValidationGroup="PreferencesWizard" runat="server" /> 
                            <asp:Image ID="ExplanationImage2" runat="server" ImageUrl="~/Images/question.gif" />
                            <cc1:Flyout ID="Flyout2" runat="server" AttachTo="ExplanationImage2" Align="LEFT" NoneEffect="true">
                                <div class="ToolTipStyle">
                                    <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Resource, Register_OnlyForLoginMessageLabel %>"></asp:Label>
                                </div>
                            </cc1:Flyout>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="PreferredLanguageTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_PreferredLanguageTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="PreferredLanguageDropDownList" runat="server" SelectedValue='<%# Bind("PreferredLanguage") %>'
                                DataSourceID="PreferredLanguageSqlDataSource" DataTextField="Language_Name" DataValueField="Language_Code" CssClass="rounded_corners">
                                <%--                        <asp:DropDownList ID="PreferredLanguageDropDownList" runat="server" SelectedValue='<%# Bind("PreferredLanguage") %>'>
                            <asp:ListItem  Text="English" Value="2"></asp:ListItem>
                            <asp:ListItem Text="Hebrew" Value="3"></asp:ListItem>
                            <asp:ListItem Text="Russian" Value="4"></asp:ListItem>
                            <asp:ListItem  Text="Spanish" Value="7"></asp:ListItem>
                            <asp:ListItem  Text="Vietnamese" Value="8"></asp:ListItem>--%>
                            </asp:DropDownList>
                            <asp:SqlDataSource ID="PreferredLanguageSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                                SelectCommand="Nivdal_GetListOfLanguages" SelectCommandType="StoredProcedure">
                            </asp:SqlDataSource>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="PreferredLanguageDropDownList"
                                ValidationGroup="PreferencesWizard" ErrorMessage="<%$ Resources:Resource, Preferences_SelectPreferredLanguage %>"
                                InitialValue="1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td  colspan="2">
                            <asp:Label ID="RealFirstNameTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_RealFirstNameTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="RealFirstNameTextBox" runat="server" Text='<%# Bind("RealFirstName") %>'
                                MaxLength="256" CssClass="rounded_corners"/>
                        </td>
                        <td>
                            <%--<asp:RequiredFieldValidator ID="RealFirstNameRequiredFieldValidator" ControlToValidate="RealFirstNameTextBox"
                                Text="<%$ Resources:Resource, Preferences_RealFirstNameRequiredFieldValidator %>"
                                ValidationGroup="PreferencesWizard" runat="server" />--%>
                            <%--                        <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator2" ControlToValidate="RealFirstNameTextBox"
                            ErrorMessage="<%$ Resources:Resource, Global_IlligalValue %>" ValidationExpression="^[0-9a-zA-Z\s]{2,256}$" ValidationGroup="PreferencesWizard"></asp:RegularExpressionValidator>
                            --%>
                        </td>
                    </tr>

                    <tr>
                        <td  colspan="2">
                            <asp:Label ID="RealLastNameTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_RealLastNameTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="RealLastNameTextBox" runat="server" Text='<%# Bind("RealLastName") %>'
                                MaxLength="256" CssClass="rounded_corners" />
                        </td>
                        <td>
                            <%--<asp:RequiredFieldValidator ID="RealLastNameRequiredFieldValidator" ControlToValidate="RealLastNameTextBox"
                                Text="<%$ Resources:Resource, Preferences_RealLastNameRequiredFieldValidator %>"
                                ValidationGroup="PreferencesWizard" runat="server" />--%>
                            <%--                    <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator4" ControlToValidate="RealLastNameTextBox"
                        ErrorMessage="<%$ Resources:Resource, Global_IlligalValue %>" ValidationExpression="^[0-9a-zA-Z\s]{2,128}$" ValidationGroup="PreferencesWizard"></asp:RegularExpressionValidator>
                            --%>
                        </td>
                    </tr>
                    
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="EmailTitleLabel" runat="server" Text='<%# Resources.Resource.Global_Email+ ":"%>'
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="EmailTextBox" runat="server" Text='<%# Bind("Email") %>' MaxLength="128" 
                            ValidationGroup="PreferencesWizard" CssClass="rounded_corners"/>                            
                            <div id="EmaildivStatus" runat="server">
                            </div>
                        </td>
                        <td>                            
                            <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="EmailTextBox"
                                ErrorMessage="<%$ Resources:Resource, Global_EmailRequired %>" ToolTip="<%$ Resources:Resource, Global_EmailRequired %>"
                                ValidationGroup="PreferencesWizard"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="EmailTextBox"
                                ErrorMessage="<%$ Resources:Resource, Global_NotLegalEmail %>" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                ValidationGroup="PreferencesWizard">
                            </asp:RegularExpressionValidator>
                            
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="FansClubNameTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_FansClubNameTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="FansClubNameTextBox" runat="server" Text='<%# Bind("FanClubName") %>'
                                MaxLength="256" CssClass="rounded_corners"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="DefaultStadiumTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_DefaultStadiumTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="StadiumsDropDownList" Enabled="True" AppendDataBoundItems="true" CssClass="rounded_corners"
                                DataSourceID="ShowStadiumsValuesSqlDataSource" DataTextField="StadiumName" DataValueField="StadiumId"
                                runat="server" SelectedValue='<%# Bind("DefaultStadiumId") %>'>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="DefaultFriendlyStadiumTitleLabel" runat="server" 
                             Text='<%# Resources.Resource.Preferences_DefaultStadiumTitleLabel + " (" + Resources.Resource.Friendly_PageNameLabelText + ")" %>'
                                SkinID="PreferencesLabel"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="FriendlyStadiumsDropDownList" Enabled="True" AppendDataBoundItems="true" CssClass="rounded_corners"
                                DataSourceID="ShowStadiumsValuesSqlDataSource" DataTextField="StadiumName" DataValueField="StadiumId"
                                runat="server" SelectedValue='<%# Bind("DefaultFreindlyStadiumId") %>'>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <asp:Label ID="ForumUseSignatureTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_ForumUseSignatureTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                            <br />
                            <CustomControls:TextArea ID="ForumSignatureTextBox" runat="server" Text='<%# Bind("ForumSignature") %>' CssClass="rounded_corners"
                                MaxLength="<%# 256 %>" Width="200px" Height="50px" TextMode="MultiLine" Rows="3" ></CustomControls:TextArea>
                            <br />
                            <br />
                            <asp:CheckBox ID="EmailCheckbox" runat="server" Checked='<%# Bind("UseEmail") %>' />
                            <asp:Label ID="EmailText" runat="server" SkinID="PreferencesLabel" Text="<%$ Resources:Resource, Preferences_AllowEmailUsageLabelText %>"></asp:Label>
                            <br />
                            <asp:CheckBox ID="AllowPasswordResetCheckbox" runat="server" Checked='<%# Bind("AllowPasswordReset") %>' ToolTip="<%$ Resources:Resource, Preferences_AllowPasswordExplanation %>"/>
                            <asp:Label ID="AllowPasswordResetLabel" runat="server" Text="<%$ Resources:Resource, Preferences_AllowPasswordReset %>"  SkinID="PreferencesLabel"
                             ToolTip="<%$ Resources:Resource, Preferences_AllowPasswordExplanation %>"></asp:Label>
                            <asp:Image ID="HelpTextImage" runat="server" ImageUrl="~/Images/question.gif" />
                            <cc1:Flyout ID="Allow15MinutesFlyout" runat="server" AttachTo="HelpTextImage" Align="LEFT" NoneEffect="true">
                                <div class="ToolTipStyle">
                                    <asp:Label ID="FifteenMinutesFlyoutLabel" runat="server" Text="<%$ Resources:Resource, Preferences_AllowPasswordExplanation %>"></asp:Label>
                                </div>
                            </cc1:Flyout>
                            <br />
                            <asp:CheckBox ID="ForumUseSignatureCheckBox" runat="server" Checked='<%# Bind("ForumUseSignature") %>' />
                            <asp:Label ID="signatureInforumsLabel" runat="server" Text="<%$ Resources:Resource, Preferences_signatureInforumsLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                            <br />
                            <br />
                            <asp:CheckBox ID="AvailableVorChatCheckBox" runat="server" Checked='<%# Bind("AvailableForChat") %>' />
                            <asp:Label ID="AvailableForChatLabel" runat="server" Text="<%$ Resources:Resource, Preferences_AvailableForChat %>"
                                SkinID="PreferencesLabel"></asp:Label>
                            <br />
                            <asp:CheckBox ID="ForumShowSignatureCheckBox" runat="server" Checked='<%# Bind("ForumShowSignature") %>' />
                            <asp:Label ID="ForumShowSignatureTitleLabel" runat="server" Text="<%$ Resources:Resource, Preferences_ForumShowSignatureTitleLabel %>"
                                SkinID="PreferencesLabel"></asp:Label>
                            <%--<br />
                        <asp:CheckBox ID="AnonymousVisitsCheckBox" runat="server" Checked='<%# Bind("AnonymousVisits") %>' />
                        <asp:Label ID="AnonymousVisitsTileLabel" runat="server" Text="<%$ Resources:Resource, Preferences_AnonymousVisitsTileLabel %>"
                             SkinID="PreferencesLabel" ToolTip="<%$ Resources:Resource, Preferences_AnonymousVisitsTileToolTip %>"></asp:Label> --%>
                            <%--<br />
                        <asp:CheckBox ID="AdvancedMatchInstructions" runat="server" Checked='<%# Bind("UseAdvancedMatchInstructions") %>' />
                        <asp:Label ID="AdvancedMatchIsntructionsLabel" runat="server" Text="<%$ Resources:Resource, Preferences_AdvancedMatchIsntructionsLabel %>"
                        SkinID="PreferencesLabel"></asp:Label>--%>
                        </td>
                    </tr>
                </table>
                <asp:Button ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
                    ValidationGroup="PreferencesWizard" Text="<%$ Resources:Resource, Global_Update %>"
                    CssClass="GreenButtonTextStyle" OnClick="SubmitChanges" />
                <asp:Button ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                    Text="<%$ Resources:Resource, Global_Cancel %>" CssClass="GreyButtonTextStyle" />
            </EditItemTemplate>
            <ItemTemplate>
                <%--            <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Icons/User preferences.png" />
            <asp:Label ID="PublicNameTitleLabel" runat="server" Text="PublicName: " SkinID="PreferencesLabel"></asp:Label>
            <asp:Label ID="PublicNameLabel" runat="server" Text='<%# Bind("PublicName") %>' SkinID="PreferencesLabel"/>
            </div>
            <br />
            <asp:Label ID="RealFirstNameTitleLabel" runat="server" Text="Real first name: " SkinID="PreferencesLabel"></asp:Label>
            <asp:Label ID="RealFirstNameLabel" runat="server" Text='<%# Bind("RealFirstName") %>' SkinID="PreferencesLabel"/>
            <br />
            <asp:Label ID="RealLastNameTitleLabel" runat="server" Text=" Real last name: " SkinID="PreferencesLabel"></asp:Label>
            <asp:Label ID="RealLastNameLabel" runat="server" Text='<%# Bind("RealLastName") %>' SkinID="PreferencesLabel"/>
            <br /><br />
            <asp:Label ID="PreferredLanguageTitleLabel" runat="server" Text="Preferred language:" SkinID="PreferencesLabel"></asp:Label>            
            <asp:Label ID="PreferredLanguageLabel" runat="server" Text='<%# Bind("PreferredLanguageName") %>'
             SkinID="PreferencesLabel"></asp:Label>
            <br /><br />
            <asp:Label ID="EmailTitleLabel" runat="server" Text="Email: " SkinID="PreferencesLabel"></asp:Label>
            <asp:Label ID="EmailLabel" runat="server" Text='<%# Bind("Email") %>' CssClass="PageNameContentStyle"/>
            <br />
            <asp:Label ID="FansClubNameTitleLabel" runat="server" Text="Fans club name: " SkinID="PreferencesLabel"></asp:Label>
            <asp:Label ID="FansClubName" runat="server" Text='<%# Bind("FanClubName") %>' SkinID="PreferencesLabel"></asp:Label>
            <br /><br />
            <asp:CheckBox ID="ForumUseSignatureCheckBox" runat="server" Checked='<%# Bind("ForumUseSignature") %>'
                Enabled="false" />
            <asp:Label ID="ForumUseSignatureTitleLabel" runat="server" Text="Use signature in forums" SkinID="PreferencesLabel"></asp:Label>
            <br />
            <asp:CheckBox ID="ForumShowSignatureCheckBox" runat="server" Checked='<%# Bind("ForumShowSignature") %>'
                Enabled="false" />
            <asp:Label ID="ForumShowSignatureTitleLabel" runat="server" Text="Show signatures in forum" SkinID="PreferencesLabel"></asp:Label>
            <br />
            <asp:CheckBox ID="AnonymousVisitsCheckBox" runat="server" Checked='<%# Bind("AnonymousVisits") %>'
                Enabled="false" />
            <asp:Label ID="AnonymousVisitsTileLabel" runat="server" Text="Anonymous user pages visits"
                 SkinID="PreferencesLabel"></asp:Label>            
            <br />
            <asp:Label ID="ForumSignatureTitleLabel" runat="server" Text="Forum signature: " 
               SkinID="PreferencesLabel"></asp:Label>            
            <br />
            <asp:TextBox ID="ForumSignatureBox" runat="server" ReadOnly="true" Wrap="true" Text='<%# Bind("ForumSignature") %>'
             CssClass="ForumTextStyle" Width="200px" Height="50px" TextMode="MultiLine" BorderWidth="0" BorderStyle="None"></asp:TextBox>
            <br /><br />
            <asp:CheckBox ID="AdvancedMatchInstructions" runat="server" Checked='<%# Bind("UseAdvancedMatchInstructions") %>' Enabled="false" />
            <asp:Label ID="AdvancedMatchIsntructionsLabel" runat="server" Text="Use advanced match instructions option"
            SkinID="PreferencesLabel"></asp:Label>
            <br /><br />
            <asp:Button ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit"
                Text="Edit" CssClass="GreyButtonTextStyle" />--%>
            </ItemTemplate>
        </asp:FormView>
        <br />
        <br />
        <asp:HyperLink ID="ChangeTeamNameHyperlink" runat="server" NavigateUrl="~/TeamNameChange.aspx"
            SkinID="GreenTitleHyperLink" Text="<%$ Resources:Resource, ChangeTeamName_LinkText %>"></asp:HyperLink>
        <br />
        <asp:Label ID="ErrorLabel" runat="server" Text="" SkinID="GridLabel"></asp:Label>
        <br />
        <hr />
        <br />
        <asp:Label ID="TeamLogoLabel" runat="server" Text="<%$ Resources:Resource, Preferences_TeamLogoLabel %>"
            SkinID="InfoLabel"></asp:Label>
        <br />
        <asp:FileUpload ID="TeamLogoFileUpload" runat="server" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="UploadTeamLogoButton" CssClass="GreenSmallButtonStyle" runat="server"
            Text="<%$ Resources:Resource, Global_Upload %>" OnClick="UploadTeamLogoButton_Click" />
        <br />
        <br />
        <asp:Label ID="UserPictureLabel" runat="server" Text="<%$ Resources:Resource, Preferences_UserPictureLabel %>"
            SkinID="InfoLabel"></asp:Label>
        <br />
        <asp:FileUpload ID="UserPictureFileUpload" runat="server" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="UploadUserPictureButton" CssClass="GreenSmallButtonStyle" runat="server"
            Text="<%$ Resources:Resource, Global_Upload %>" OnClick="UploadUserPictureButton_Click" />
        <br />
        <br />
        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/PasswordChange.aspx"
            CssClass="PageNameContentStyle" Text="<%$ Resources:Resource, PasswordChange_Title %>"></asp:HyperLink>
        <br />
        <br />
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_GetUserPreferences" SelectCommandType="StoredProcedure"
            UpdateCommand="Nivdal_UpdateUserPreferences" UpdateCommandType="StoredProcedure">
            <UpdateParameters>
                <asp:Parameter Name="PublicName" Type="String" />
                <asp:Parameter Name="LoginName" Type="String" />
                <asp:Parameter Name="RealFirstName" Type="String" />
                <asp:Parameter Name="RealLastName" Type="String" />
                <asp:Parameter Name="PreferredLanguage" Type="Decimal" />
                <asp:Parameter Name="ForumSignature" Type="String" />
                <asp:Parameter Name="ForumUseSignature" Type="Boolean" />
                <asp:Parameter Name="ForumShowSignature" Type="Boolean" />
                <asp:Parameter Name="AnonymousVisits" Type="Boolean" />
                <asp:Parameter Name="Email" Type="String" />
                <asp:Parameter Name="UseAdvancedMatchInstructions" Type="Boolean" />
                <asp:Parameter Name="FanClubName" Type="String" />
                <asp:Parameter Name="DefaultStadiumId" Type="Decimal" />
                <asp:Parameter Name="UseEmail" Type="Boolean" />
                <asp:Parameter Name="AllowPasswordReset" Type="Boolean" />
                <asp:Parameter Name="AvailableForChat" Type="Boolean" />
                <asp:Parameter Name="DefaultFreindlyStadiumId" Type="Decimal" />
            </UpdateParameters>
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="ShowStadiumsValuesSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_GetStadiumsDDLForMatch" SelectCommandType="StoredProcedure">
        </asp:SqlDataSource>
   
    <div class="clearBoth"></div>
    
    </div>
    </div>
</asp:Content>
